<?php
declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 */
#[Constants]
class DataCode extends AbstractConstants
{
    /**
     * @Message("ACCESS_TYPE")
     */
    const ACCESS_TYPE = 'accessType';

    /**
     * @Message("ACCESS_TYPE_DATA")
     */
    const ACCESS_TYPE_DATA = 'data';

    /**
     * @Message("ACCESS_TYPE_DATA")
     */
    const ACCESS_TYPE_STATUS = 'status';

    /**
     * @Message("ACCESS_TYPE_MSG")
     */
    const ACCESS_TYPE_MSG = 'msg';

    /**
     * @Message("HEADER_VERIFY_DEVICE_SERVER")
     */
    const HEADER_VERIFY_DEVICE_SERVER = 'DEVICE_SERVER';


    /**
     * @Message("ACCESS_TYPE_DEVICE_LOGIN")
     */
    const ACCESS_TYPE_APP_LOGIN = 'appLogin';

    /**
     * @Message("ACCESS_TYPE_DEVICE_POP")
     */
    const ACCESS_TYPE_APP_POP = 'appPop';

    /**
     * @Message("ACCESS_TYPE_APP_UPLOAD_FRIEND_INFO")
     */
    const ACCESS_TYPE_APP_UPLOAD_FRIEND_INFO = 'sendAppUploadFriendInfo';

    /**
     * @Message("ACCESS_TYPE_APP_MESSAGE_TALK")
     */
    const ACCESS_TYPE_APP_MESSAGE_TALK = 'appMessageTalk';

    /**
     * @Message("ACCESS_TYPE_APP_ADD_FRIEND")
     */
    const ACCESS_TYPE_APP_ADD_FRIEND = 'appAddFriend';

    /**
     * @Message("ACCESS_TYPE_APP_CHAT_TOKEN")
     */
    const ACCESS_TYPE_APP_CHAT_TOKEN = 'appChatToken';

    /**
     * @Message("ACCESS_TYPE_APP_UPLOAD_TALK_INFO")
     */
    const ACCESS_TYPE_APP_UPLOAD_TALK_INFO = 'appUploadTalkInfo';

    /**
     * @Message("ACCESS_TYPE_APP_MESSAGE_TO_FRIEND")
     */
    const ACCESS_TYPE_APP_MESSAGE_TO_FRIEND = 'appMessageToFriend';

    /**
     * @Message("ACCESS_TYPE_APP_FRIEND_TO_MESSAGE")
     */
    const ACCESS_TYPE_APP_FRIEND_TO_MESSAGE = 'appFriendToMessage';

    /**
     * @Message("ACCESS_TYPE_APP_UPLOAD_ACCOUNT_INFO")
     */
    const ACCESS_TYPE_APP_UPLOAD_ACCOUNT_INFO = 'appUploadAccountInfo';

    /**
     * @Message("ACCESS_TYPE_APP_GET_FRIEND_LAST_MESSAGE")
     */
    const ACCESS_TYPE_APP_GET_FRIEND_LAST_MESSAGE = 'appGetFriendLastMessage';
}